home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / os2 / pccts.zip / DLG1.TXT < prev    next >
Text File  |  1992-12-08  |  3KB  |  63 lines

  1.  
  2.  
  3.  
  4. dlg - DFA Lexical Analyzer Generator
  5.  
  6. dlg [ -C [ level ] ] [  -m  mode_file  ]  [  -i  ]  [  -cs  or  -ci  ]
  7. lexical_spec output_file
  8.  
  9. dlg is a tool that produces fast  deterministic  finite  automata  for
  10. recognizing regular expressions in input.
  11.  
  12. -C[level] Where level is the compression level used.  0 indications no
  13. compression,  1 removes all unused characters from the transition from
  14. table, and 2  maps  equivalent  characters  into  the  same  character
  15. classes.  It is suggested that level -C2 is used, since it will signi-
  16. ficantly reduce the size of the dfa produced for lexical analyzer.  -m
  17. Produces  the  header file for the lexical mode with a name other than
  18. the default name of "mode.h".  -i An interactive, or as interactive as
  19. possible,  parser  is  produced.   A  character  is only obtained when
  20. required to decide which state to go to.  Some care must be  taken  to
  21. obtain  accept states that do not require look ahead at the next char-
  22. acter to determine if that is the stop state.  Any regular  expression
  23. with  a  Kleene  closure  at  the end is guaranteed to require another
  24. character of look ahead.  -ci The automaton will treat upper and lower
  25. case  characters  identically.  This is accomplished in the automaton;
  26. the characters in the lexical buffer are unmodified.   -cs  Upper  and
  27. lower  case  characters are treated as distinct.  This is the default.
  28. - Used in place of file names to get input from standard  in  or  send
  29. output to standard out.
  30.  
  31.  
  32.      Dlg works...  we think.  There is no implicit guarantee  of  any-
  33. thing.  We reserve no legal rights to the software known as the Purdue
  34. Compiler Construction Tool Set  (PCCTS)  -  PCCTS  is  in  the  public
  35. domain.   An  individual  or  company  may  do whatever they wish with
  36. source code distributed with PCCTS or the  code  generated  by  PCCTS,
  37. including  the  incorporation of PCCTS, or its output, into commerical
  38. software.  We encourage users to develop software  with  PCCTS.   How-
  39. ever,  we  do ask that credit is given to us for developing PCCTS.  By
  40. "credit", we mean that if you incorporate our source code into one  of
  41. your  programs  (commercial  product,  research project, or otherwise)
  42. that  you  acknowledge  this  fact  somewhere  in  the  documentation,
  43. research  report,  etc...  If you like PCCTS and have developed a nice
  44. tool with the output, please  mention  that  you  developed  it  using
  45. PCCTS.   As  long  as these guidelines are followed, we expect to con-
  46. tinue enhancing this system and expect to make other  tools  available
  47. as they are completed.
  48.  
  49. mode.h , dlgauto.h , dlgdef.h
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                 Page 1
  62.  
  63.